#ifndef __GAME_APPEARED__
#define __GAME_APPEARED__

#include "gameengine.h"
#include <vector>
using namespace engine;

extern GameEngine* eg;
extern Sprite* plane;
extern std::vector<Sprite*> bullets;

bool SDLInit();

void SDLClean();

bool GameInit();

void GameStart();

bool GameClean();

void GamePaint();

void GameCycle();

void HandleEvent(SDL_Event event);

bool SpriteCollision(Sprite* spriteHitter, Sprite* spriteHittee);

#endif
